package com.ahwei.dao;


import com.ahwei.util.MyBatisUtils;

/**
 * Author：86176
 * Email: @qq1632957243
 * @date: 202*-01-16 19:38
 * @description: DaoUtils！
 */
public class DaoFactory {
    /**
     * 获取Dao代理对象
     * @param clazz 接口class
     * @param <T> ·
     * @return ·
     */
   public static <T>T getProxy(Class<T> clazz){
       return MyBatisUtils.getSqlSession().getMapper(clazz);
   }
}
